<%@ page import="dori.jasper.engine.*" %>
<%@ page import="dori.jasper.engine.util.*" %>
<%@ page import="java.lang.*" %>

<%
	System.setProperty(
		"jasper.reports.compile.class.path", 
		application.getRealPath("/WEB-INF/lib/jasperreports-4.1.3.jar") +
		System.getProperty("path.separator") + 
		application.getRealPath("/WEB-INF/classes/")
		);

	System.setProperty(
		"jasper.reports.compile.temp", 
		application.getRealPath("/reports/")
		);
      
     JasperReport jasperReport = (JasperReport)JRLoader.loadObject(application.getRealPath("/reports/ApproveSurvey.jasper"));
     JasperCompileManager.writeReportToXmlFile(jasperReport,"d:/EpsReportRev.jrxml");
%>

<html>
<head>
<title>JasperReports - Web Application Sample</title>
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>

<body bgcolor="white">

<span class="bold">The XML report design was successfully compiled.</span>

</body>
</html>
